home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / samba.idb / usr / share / catman / u_man / cat8 / smbpasswd.8.Z / smbpasswd.8
Encoding:
Text File  |  1998-10-28  |  7.5 KB  |  199 lines

  1.  
  2.  
  3.  
  4.      SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))    ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888))))    SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           smbpasswd - change a users smb password in the smbpasswd
  10.           file.
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ssssmmmmbbbbppppaaaasssssssswwwwdddd [ ----aaaa ] [ ----rrrr remote_machine ] [ ----UUUU remote_username
  14.           ] [ ----DDDD DEBUGLEVEL ] [ uuuusssseeeerrrrnnnnaaaammmmeeee ]
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.           This program is part of the Samba suite.
  18.  
  19.           ssssmmmmbbbbppppaaaasssssssswwwwdddd allows a user to change their encrypted smb
  20.           password which is stored in the smbpasswd file (usually kept
  21.           in the _p_r_i_v_a_t_e directory under the _S_a_m_b_a directory
  22.           hierarchy. Ordinary users can only run the command with no
  23.           options. It will prompt them for their old smb password and
  24.           then ask them for their new password twice, to ensure that
  25.           the new password was typed correctly. No passwords will be
  26.           echoed on the screen whilst being typed. If you have a blank
  27.           smb password (specified by the string "NO PASSWORD" in the
  28.           smbpasswd file) then just press the <Enter> key when asked
  29.           for your old password.
  30.  
  31.           NNNNeeeewwww ffffoooorrrr 1111....9999....11118888pppp4444.... smbpasswd will now allow a user to change
  32.           their password on a Windows NT server. To use this add the
  33.           -_r <_r_e_m_o_t_e__m_a_c_h_i_n_e> parameter to the smbpasswd command. The
  34.           machine name is looked up using the "name resolve order"
  35.           parameter defined in the smb.conf [global] section. To
  36.           change the password for a different username on a domain
  37.           controller, add the -_U <_r_e_m_o_t_e__u_s_e_r> parameter as well. If
  38.           this parameter is not present the current UNIX user name
  39.           will be used as the remote user whose password you wish to
  40.           change.  Note that when changing a Windows NT password for a
  41.           domain user, <_r_e_m_o_t_e _m_a_c_h_i_n_e> must be the name of the
  42.           Primary domain controller.
  43.  
  44.           To allow users to change their passwords from "NO PASSWORD"
  45.           in the smbpasswd file to a valid password the administrator
  46.           must set the following parameter in the [global] section of
  47.           the smb.conf :
  48.  
  49.           null passwords = true
  50.  
  51.           This is NNNNOOOOTTTT recommended as a general policy, it is
  52.           recommended that new users be assigned a default password
  53.           instead.
  54.  
  55.           The -_a and _u_s_e_r_n_a_m_e options can only be used by a user
  56.           running as root.
  57.  
  58.  
  59.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  60.  
  61.  
  62.  
  63.      PPPPaaaaggggeeee 1111                                         ((((pppprrrriiiinnnntttteeeedddd 11110000////22226666////99998888))))
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))    ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888))))    SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
  71.  
  72.  
  73.  
  74.           -_a
  75.  
  76.              Specifies that the username following should be added to
  77.              the _s_m_b_p_a_s_s_w_d file, with the new password typed (type
  78.              <Enter> for the old password). This option is ignored if
  79.              the username following already exists in the _s_m_b_p_a_s_s_w_d
  80.              file and it is treated like a regular change password
  81.              command. Note that the user to be added mmmmuuuusssstttt already
  82.              exist in the system password file (usually /etc/passwd)
  83.              else the request to add the user will fail.
  84.  
  85.           _u_s_e_r_n_a_m_e
  86.  
  87.              You may only specify a username to the smbpasswd command
  88.              if you are running as root. Only root should have the
  89.              permission to modify other users smb passwords.
  90.  
  91.  
  92.      IIIINNNNSSSSTTTTAAAALLLLLLLLAAAATTTTIIIIOOOONNNN
  93.           The location of the server and its support files is a matter
  94.           for individual system administrators. The following are thus
  95.           suggestions only.
  96.  
  97.           It is recommended that the ssssmmmmbbbbppppaaaasssssssswwwwdddd program be installed in
  98.           the /usr/local/samba/bin directory. This should be a
  99.           directory readable by all, writeable only by root. The
  100.           program should be executable by all. The program mmmmuuuusssstttt nnnnooootttt be
  101.           setuid root.
  102.  
  103.  
  104.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  105.           This man page is correct for version 1.9.18p4 of the Samba
  106.           suite.  These notes will necessarily lag behind development
  107.           of the software, so it is possible that your version of the
  108.           program has extensions or parameter semantics that differ
  109.           from or are not covered by this man page. Please notify
  110.           these to the address below for rectification.
  111.  
  112.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  113.           ssssmmmmbbbbdddd(8), ssssmmmmbbbb....ccccoooonnnnffff(5)
  114.  
  115.  
  116.           BBBBUUUUGGGGSSSS
  117.  
  118.           The ssssmmmmbbbbppppaaaasssssssswwwwdddd command is only useful if _S_a_m_b_a has been set
  119.           up to use encrypted passwords. See the file _E_N_C_R_Y_P_T_I_O_N._t_x_t
  120.           in the docs directory for details on how to do this.
  121.  
  122.  
  123.      CCCCRRRREEEEDDDDIIIITTTTSSSS
  124.           The original Samba software and related utilities were
  125.           created by Andrew Tridgell (samba-bugs@samba.anu.edu.au).
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/26/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))    ssssmmmmbbbbppppaaaasssssssswwwwdddd 1111....9999....11118888pppp11110000 ((((22220000 AAAAuuuugggg 1111999999998888))))    SSSSMMMMBBBBPPPPAAAASSSSSSSSWWWWDDDD((((8888))))
  137.  
  138.  
  139.  
  140.           Andrew is also the Keeper of the Source for this project.
  141.           smbpasswd and the encrypted password file code was written
  142.           by Jeremy Allison (samba-bugs@samba.anu.edu.au).
  143.  
  144.           This man page was written by Jeremy Allison. Bug reports to
  145.           samba-bugs@samba.anu.edu.au.
  146.  
  147.           See ssssmmmmbbbb....ccccoooonnnnffff(5) for a full list of contributors and details
  148.           of how to submit bug reports, comments etc.
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                         (printed 10/26/98)
  196.  
  197.  
  198.  
  199.